package com.laf.manage.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.laf.common.annotation.Excel;
import com.laf.common.core.domain.TreeEntity;

/**
 * 分类管理对象 tb_category
 *
 * @author zian
 * @date 2024-10-30
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tb_category")
@ApiModel(value = "Category", description = "分类管理实体")
public class Category extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 分类名
     */
    @Excel(name = "分类名")
    @ApiModelProperty("分类名")
    private String categoryName;

    /**
     * 图标
     */
    @Excel(name = "图标")
    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("问题一")
    private String issueOne;

    @ApiModelProperty("问题二")
    private String issueTwo;

    @ApiModelProperty("是否默认图片")
    private String isDefaultImage;

}
